package com.atmilan.quartz.service.impl;

import com.atmilan.quartz.mapper.LeamProductSkuMapper;
import com.atmilan.quartz.mapper.XyyProductSkuMapper;
import com.atmilan.quartz.model.entity.leam.LeamProductSku;
import com.atmilan.quartz.service.ILeamProductSkuService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class LeamProductSkuServiceImpl extends ServiceImpl<LeamProductSkuMapper, LeamProductSku> implements ILeamProductSkuService {
    @Autowired
    LeamProductSkuMapper leamProductSkuMapper;

    @Override
    public void deleteAll() {
        leamProductSkuMapper.deleteAll();
    }
    
    @Override
    public void copyAll() {
        leamProductSkuMapper.deleteProductSkuBack();
        leamProductSkuMapper.copyProductSkuBack();
    }

}
